home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Programmer Disk
/
The Programmer Disk (Microforum).iso
/
xpro
/
c4
/
pro2
/
1n04078b
< prev
next >
Wrap
Text File
|
1990-08-09
|
320b
|
16 lines
Figure 2: DoDialog()
--------------------
/*
* DoDialog
*/
int DoDialog(HANDLE hInst,HWND hWnd,char *Res,
FARPROC lpProc){
FARPROC lpfn;
BOOL ret;
lpfn = MakeProcInstance(lpProc,hInst);
ret = DialogBox(hInst,Res,hWnd,lpfn);
FreeProcInstance(lpfn);
return(ret);
}